package com.wushixin.springdemo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wushixin.springdemo.dto.BookDto;
import com.wushixin.springdemo.pojo.Book;

import java.util.List;

public interface BookService extends IService<Book> {
    List<BookDto> getAll();

    Page<BookDto> getPage(Integer current, Integer pageSize, String name);
}
